﻿
using NetCourse.Framework.Database;
using System.ComponentModel.DataAnnotations;

namespace Xmu.Stores.Models
{
    // 考场类
    public class ExamRoom : EntityBase
    {
        public Guid ExamRoomId { get; set; } = Guid.NewGuid();

        [Required]
        public string ExamRoomName { get; set; }

        [Required]
        public Campus Campus { get; set; }

        [Required]
        public string BuildingName { get; set; }

        [Required]
        public string RoomNumber { get; set; }
    }

}
